#ifndef __GAME_SCENE_H__
#define __GAME_SCENE_H__

#include "ObjManager.h"
#include "cocos2d.h"
#include "BlockBox.h"

class GameScene : public cocos2d::Scene, public BlockClickDelegate
{
public:
	static cocos2d::Scene* createScene();
	virtual bool init();
	CREATE_FUNC(GameScene);
	void blockBoxClick(BlockBox*);
	virtual void BlockClick(Node * node);
private:
	const int m_deleteBlockMinCount = 3;
	const int m_mapSizeW = 10;
	const int m_mapSizeH = 10;
	BlockBox *** m_map;
	cocos2d::Layer * m_blockBoxLayer;
};

#endif // __GAME_SCENE_H__
